package com.glory.dmegcpda.bean;

import java.io.Serializable;
import java.util.ArrayList;

public class PdfBean implements Serializable {
    private String title;
    private String text;
    private ArrayList<String> imageUrl;

    public ArrayList<String> getImageUrl() {
        if (imageUrl == null) {
            return new ArrayList<>();
        }
        return imageUrl;
    }

    public void setImageUrl(ArrayList<String> imageUrl) {
        this.imageUrl = imageUrl;
    }

    public String getTitle() {
        return title == null ? "" : title;
    }

    public String getText() {
        return text == null ? "" : text;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public void setText(String text) {
        this.text = text;
    }

    @Override
    public String toString() {
        return "PdfBean{" +
                "title='" + title + '\'' +
                ", text='" + text + '\'' +
                ", imageUrl=" + imageUrl +
                '}';
    }
}
